package com.zp.base.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author ZhangPeng
 * @email zhangpeng98@aliyun.com
 * @create 2021-02-27 16:35
 *
 * 网站基本信息配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "zp")
@PropertySource("classpath:site.properties")
public class SiteConfig {

    private String siteName;
    private String siteUrl;

}
